package demo1;

public class Test {
    public static void main(String[] args) {
        MyPriorityQueue myPriorityQueue = new MyPriorityQueue();
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        myPriorityQueue.inti(array);
        myPriorityQueue.print();
        myPriorityQueue.createHeapMAX();
        myPriorityQueue.print();
        myPriorityQueue.createHeapMIN();
        myPriorityQueue.print();
        myPriorityQueue.offer(20);
        myPriorityQueue.print();
    }
}